package com.qfedu.hotelssm.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author dzl
 * @date 2022/8/28 15:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CtStoke {
    //库存id
    @ExcelIgnore
    private Integer id;
    //存货名称
    private String name;
    //存货数量
    private Integer num;
    //存货价格
    private Double price;
    //存货种类
    private String kind;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")//返回
    //统计时间
    @ExcelIgnore
    private Date ctime;
}
